package com.example.test.dialogfactory;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import androidx.appcompat.app.AppCompatActivity;
import easier.app.x.spark.SparklingDrawable;
import easier.app.x.spark.SparklingTextView;

public class MainActivity43 extends AppCompatActivity {

    private SparklingTextView mText;
    private View mBack;

    public static void start( Context context ) {

        Intent starter = new Intent( context, MainActivity43.class );
        context.startActivity( starter );
    }

    @Override
    protected void onCreate( Bundle savedInstanceState ) {

        super.onCreate( savedInstanceState );
        setContentView( R.layout.activity_main43 );
        initView();
        initViewAction();
    }

    private void initView() {

        mText = (SparklingTextView) findViewById( R.id.text );
        mBack = (View) findViewById( R.id.back );
    }

    private void initViewAction() {

        mBack.setBackground( new SparklingDrawable() );
    }
}